import axios from 'src/util/axios'
// 登录
const loginSystem = params => axios('post', '/login/do', params, true)

// 发送验证码
const getCode = params => axios('post', '/password/send-code', params, true)

// 验证手机号
const checkCode = params => axios('post', '/password/check-mobile', params, true)

// 重新设置密码
const resetPassword = params => axios('post', '/password/reset-pass', params, true)
export {
  loginSystem,
  getCode,
  checkCode,
  resetPassword
}
